<style>
body{padding:0;margin:0;background:#F7F8F9;font-size:12px;}
</style>
<script type="text/javascript">
<!--
function doCheck() 
{
	if(upload.uploadfile.value == '') {
		alert('请选择文件!');
		return false;
	}
	return true;
}
//-->
</script>
<div id="main" class="main" >
<form name="upload" method="post" action="__APP__/Upload/doupload/" enctype="multipart/form-data" onsubmit="return doCheck();">
<input type="hidden" name="uploadfield" value="{$uploadfield}" />
<input type="hidden" name="thumbfield" value="{$thumbfield}" />
<input type="hidden" name="preview" value="{$preview}" />
<input type="file" name="uploadfile"  onchange="" size="20"/>
<input type="submit" name="submit" value="上传" />{__NOTOKEN__}
</form>
</div>